Skip to content

Conversation

@bonzini
Copy link
Collaborator

@bonzini bonzini commented Oct 20, 2025

meson.build has clashing target names when multiple crate types are present; create a single target and dependency for each ABI.

Fixes: #15028

@bonzini bonzini force-pushed the cargo-both-libraries branch 2 times, most recently from 162e4a3 to 1953bc1 Compare October 20, 2025 10:38
@bonzini bonzini marked this pull request as ready for review October 20, 2025 10:41
@bonzini bonzini requested a review from jpakkane as a code owner October 20, 2025 10:41
@bonzini bonzini added bug dependencies:cargo Issues related to using cargo subprojects labels Oct 20, 2025
@bonzini bonzini force-pushed the cargo-both-libraries branch 2 times, most recently from c040982 to a8f37c3 Compare October 20, 2025 11:13
@bonzini bonzini added this to the 1.10 milestone Oct 21, 2025
Do not look anymore at proc_macro after init, keeping crate_type as the
sole source of truth about the desired crate types.
@bonzini bonzini force-pushed the cargo-both-libraries branch from a8f37c3 to 8ef1090 Compare October 23, 2025 14:20
@xclaesse xclaesse merged commit ee17073 into mesonbuild:master Oct 23, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug dependencies:cargo Issues related to using cargo subprojects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cargo Wrap - meson.build has clashing target names when multiple crate types are present

2 participants